cmake_minimum_required(VERSION 3.0.2)
project(zhz_msgs)

## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)
# find ./ -type f |xargs touch
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
  message_generation
  roscpp
  rospy
  std_msgs
  geometry_msgs
  sensor_msgs
)

## Generate messages in the 'msg' folder
add_message_files(
  DIRECTORY msg
  FILES
  FeatureIndex.msg
  LocalSensorExternalTrigger.msg
  RunType.msg
)
add_message_files(
  DIRECTORY msgQ20
  FILES
  FCVisionSwitchFrame.msg
  NedFrame.msg
  RCFrame.msg
)


## Generate added messages and services with any dependencies listed here
generate_messages(
  DEPENDENCIES
  std_msgs
  sensor_msgs
  geometry_msgs
)


catkin_package(
  #INCLUDE_DIRS include
  #LIBRARIES messages
  CATKIN_DEPENDS message_runtime roscpp rospy std_msgs geometry_msgs sensor_msgs
#  DEPENDS system_lib
)

include_directories(
# include
  ${catkin_INCLUDE_DIRS}
)

